package com.trade;

import java.sql.Date;
/**
 * 
 * @author gauravf
 *
 */
public class TradeBean {
	private long TradeID=0;
	private java.sql.Date Date=null;
	private String Stock=null;
	private String Action=null;
	private int Qty=0;
	private double Price=0;
	private double TradeValue=0;
	private double Brokerageincltaxes=0;
	private String OrderRef=null;
	private String Settlement=null;
	private String Segment=null;
	private String DPIdClientDPId=null;
	private String Exchange=null;
	
	public TradeBean(){
		
	}
	
	/**
	 * 
	 * @param date
	 * @param stock
	 * @param action
	 * @param qty
	 * @param price
	 * @param tradeValue
	 * @param brokerageincltaxes
	 * @param orderRef
	 * @param settlement
	 * @param segment
	 * @param idClientDPId
	 * @param exchange
	 */
	public TradeBean(long tradeid, Date date, String stock, String action, int qty,
			double price, double tradeValue, double brokerageincltaxes,
			String orderRef, String settlement, String segment,
			String idClientDPId, String exchange) {
		super();
		TradeID = tradeid;
		Date = date;
		Stock = stock;
		Action = action;
		Qty = qty;
		Price = price;
		TradeValue = tradeValue;
		Brokerageincltaxes = brokerageincltaxes;
		OrderRef = orderRef;
		Settlement = settlement;
		Segment = segment;
		DPIdClientDPId = idClientDPId;
		Exchange = exchange;
	}
	public java.sql.Date getDate() {
		return Date;
	}
	public void setDate(java.sql.Date date) {
		Date = date;
	}
	public String getStock() {
		return Stock;
	}
	public void setStock(String stock) {
		Stock = stock;
	}
	public String getAction() {
		return Action;
	}
	public void setAction(String action) {
		Action = action;
	}
	public int getQty() {
		return Qty;
	}
	public void setQty(int qty) {
		Qty = qty;
	}
	public double getPrice() {
		return Price;
	}
	public void setPrice(double price) {
		Price = price;
	}
	public double getTradeValue() {
		return TradeValue;
	}
	public void setTradeValue(double tradeValue) {
		TradeValue = tradeValue;
	}
	public double getBrokerageincltaxes() {
		return Brokerageincltaxes;
	}
	public void setBrokerageincltaxes(double brokerageincltaxes) {
		Brokerageincltaxes = brokerageincltaxes;
	}
	public String getOrderRef() {
		return OrderRef;
	}
	public void setOrderRef(String orderRef) {
		OrderRef = orderRef;
	}
	public String getSettlement() {
		return Settlement;
	}
	public void setSettlement(String settlement) {
		Settlement = settlement;
	}
	public String getSegment() {
		return Segment;
	}
	public void setSegment(String segment) {
		Segment = segment;
	}
	public String getDPIdClientDPId() {
		return DPIdClientDPId;
	}
	public void setDPIdClientDPId(String idClientDPId) {
		DPIdClientDPId = idClientDPId;
	}
	public String getExchange() {
		return Exchange;
	}
	public void setExchange(String exchange) {
		Exchange = exchange;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {		
		return " TradeID = "+TradeID+ 
		" Date = "+ Date+
		" Stock = "+ Stock+
		" Action = "+ Action+
		" Qty = "+ Qty+
		" Price = "+ Price+
		" TradeValue = "+ TradeValue+
		" Brokerageincltaxes = "+ Brokerageincltaxes+
		" OrderRef = "+ OrderRef+
		" Settlement = "+ Settlement+
		" Segment = "+ Segment+
		" DPIdClientDPId = "+ DPIdClientDPId+
		" Exchange = "+ Exchange;
	}

	/**
	 * @return the tradeid
	 */
	public long getTradeID() {
		return TradeID;
	}

	/**
	 * @param tradeid the tradeid to set
	 */
	public void setTradeID(long tradeid) {
		this.TradeID = tradeid;
	}
	
	
}
